<fieldset class="column-left2" id="agrupacion" style="min-width : 500px; min-height: 100px">
  <legend>Resultados de b&uacute;squeda</legend>
<% if @cultural_heritage_cultural_heritages.size > 0 %>

<br/>
 <table frame="border"class="table-general paginated_table sorted_table" id="list_to_select" style="font-size: 9px;">
  <thead>
  <tr>
  <th>Código</th>
  <th>Nombre de Patrimonio</th>
  <th>Descripción</th>
  <th>Subgrupo</th>
  <th>Cultura</th> 
    <th>Agrupar</th>
  </tr>
</thead>
<tbody>
<% @cultural_heritage_cultural_heritages.each do |cultural_heritage_cultural_heritage| %>
  <tr >
    <td class="national_registration_code"><%= cultural_heritage_cultural_heritage.nationalRegistrationCode %></td>
    <td class="name"><%= cultural_heritage_cultural_heritage.name %></td>
    <td><%= cultural_heritage_cultural_heritage.description %></td>
    <td><%= cultural_heritage_cultural_heritage.obj_subGroup.name %></td>
    <td>
      <% if !cultural_heritage_cultural_heritage.culture.blank?  %>
        <%= cultural_heritage_cultural_heritage.obj_culture.name %>
      <%end%>
    </td>
    <td>
      <a href="#" cultural-heritage-id='<%= cultural_heritage_cultural_heritage.id %>' class="js_link_cultural_heritage" title="Asociar">
        <img border="0" title="Asociar" src="/images/navi/0047-badge-circle-direction-right-16-ns.png" alt="Asociar" />
      </a>
      <!--<a href="#" cultural-heritage-id='<%#= cultural_heritage_cultural_heritage.id %>' class="js_link_cultural_heritage" title="Asociar">Asociar</a>-->
    </td>
    </tr>
<% end %>
    </tbody>
</table>
<% else %>
  <p>Ningún Patrimonio Cultural Encontrado</p>
<% end %>
  </fieldset>